package cn.funeralobjects.ams.web.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author FuneralObjects
 * Create date: 2020/6/8 7:22 AM
 */
@Data
@Accessors(chain = true)
public class VStsAccessKeyParam {
    @NotEmpty
    private String roleSessionName;
    @NotNull
    private Integer roleId;
    @NotNull
    private Integer prodResId;
    private VPolicy policy;
    private Long duration;
}
